package com.quanta.edaily.Service;

import com.quanta.edaily.pojo.Article;

import java.util.List;

public interface ArticleService {
    int insert(Article article);
    int deleteById(Integer id);
    int updateById(Article article);
    Article getById(Integer id);
    List<Article> get(Integer pageNum, Integer pageSize, String title);
//    List<Article> findPage(int pageNum, int pageSize);
}
